\hypertarget{classduye_1_1_timer_server}{\section{duye\-:\-:Timer\-Server Class Reference}
\label{classduye_1_1_timer_server}\index{duye\-::\-Timer\-Server@{duye\-::\-Timer\-Server}}
}


string extend function  




{\ttfamily \#include $<$duye\-\_\-timer.\-h$>$}

Inheritance diagram for duye\-:\-:Timer\-Server\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classduye_1_1_timer_server}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classduye_1_1_timer_server_a94ea5fa2f06894a619b88bd86a3cbcb7}{typedef std\-::map$<$ \hyperlink{classduye_1_1_timer_if}{Timer\-If} \\*
$\ast$, \hyperlink{classduye_1_1_timer_data}{Timer\-Data} $>$ {\bfseries Timer\-User\-Map}}\label{classduye_1_1_timer_server_a94ea5fa2f06894a619b88bd86a3cbcb7}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{classduye_1_1_timer_server_af588650857d823d95e529059e315beec}{start\-Server} ()
\begin{DoxyCompactList}\small\item\em register timer \end{DoxyCompactList}\item 
bool \hyperlink{classduye_1_1_timer_server_a34a4df94d0607a5ba11fb62a1dcc784c}{register\-Timer} (\hyperlink{classduye_1_1_timer_if}{Timer\-If} $\ast$timer\-If, const uint32 timeout)
\begin{DoxyCompactList}\small\item\em register timer \end{DoxyCompactList}\item 
bool \hyperlink{classduye_1_1_timer_server_a3c649a7e64c7210424b276e78d6fd515}{cancel\-Timer} (\hyperlink{classduye_1_1_timer_if}{Timer\-If} $\ast$timer\-If)
\begin{DoxyCompactList}\small\item\em cancel timer \end{DoxyCompactList}\item 
bool \hyperlink{classduye_1_1_timer_server_ad06e94ff757883e0df298d68501dea85}{update\-Timer} (\hyperlink{classduye_1_1_timer_if}{Timer\-If} $\ast$timer\-If, const uint32 timeout)
\begin{DoxyCompactList}\small\item\em update timer \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classduye_1_1_timer_server_a28a4f596608f843b8e78c22505f3e427}{static \hyperlink{classduye_1_1_timer_server}{Timer\-Server} \& {\bfseries instance} ()}\label{classduye_1_1_timer_server_a28a4f596608f843b8e78c22505f3e427}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
string extend function 

\begin{DoxyNote}{Note}

\end{DoxyNote}


\subsection{Member Function Documentation}
\hypertarget{classduye_1_1_timer_server_a3c649a7e64c7210424b276e78d6fd515}{\index{duye\-::\-Timer\-Server@{duye\-::\-Timer\-Server}!cancel\-Timer@{cancel\-Timer}}
\index{cancel\-Timer@{cancel\-Timer}!duye::TimerServer@{duye\-::\-Timer\-Server}}
\subsubsection[{cancel\-Timer}]{\setlength{\rightskip}{0pt plus 5cm}bool duye\-::\-Timer\-Server\-::cancel\-Timer (
\begin{DoxyParamCaption}
\item[{{\bf Timer\-If} $\ast$}]{timer\-If}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_timer_server_a3c649a7e64c7210424b276e78d6fd515}


cancel timer 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em timer\-If} & \-: user \\
\hline
\end{DoxyParams}
\hypertarget{classduye_1_1_timer_server_a34a4df94d0607a5ba11fb62a1dcc784c}{\index{duye\-::\-Timer\-Server@{duye\-::\-Timer\-Server}!register\-Timer@{register\-Timer}}
\index{register\-Timer@{register\-Timer}!duye::TimerServer@{duye\-::\-Timer\-Server}}
\subsubsection[{register\-Timer}]{\setlength{\rightskip}{0pt plus 5cm}bool duye\-::\-Timer\-Server\-::register\-Timer (
\begin{DoxyParamCaption}
\item[{{\bf Timer\-If} $\ast$}]{timer\-If, }
\item[{const uint32}]{timeout}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_timer_server_a34a4df94d0607a5ba11fb62a1dcc784c}


register timer 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em timer\-If} & \-: user \\
\hline
\mbox{\tt in}  & {\em timeout} & \-: time out, millisecond \\
\hline
\end{DoxyParams}
\hypertarget{classduye_1_1_timer_server_af588650857d823d95e529059e315beec}{\index{duye\-::\-Timer\-Server@{duye\-::\-Timer\-Server}!start\-Server@{start\-Server}}
\index{start\-Server@{start\-Server}!duye::TimerServer@{duye\-::\-Timer\-Server}}
\subsubsection[{start\-Server}]{\setlength{\rightskip}{0pt plus 5cm}bool duye\-::\-Timer\-Server\-::start\-Server (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_timer_server_af588650857d823d95e529059e315beec}


register timer 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em timeout} & \-: time out \\
\hline
\mbox{\tt in}  & {\em user\-Data} & \-: user data \\
\hline
\end{DoxyParams}
\hypertarget{classduye_1_1_timer_server_ad06e94ff757883e0df298d68501dea85}{\index{duye\-::\-Timer\-Server@{duye\-::\-Timer\-Server}!update\-Timer@{update\-Timer}}
\index{update\-Timer@{update\-Timer}!duye::TimerServer@{duye\-::\-Timer\-Server}}
\subsubsection[{update\-Timer}]{\setlength{\rightskip}{0pt plus 5cm}bool duye\-::\-Timer\-Server\-::update\-Timer (
\begin{DoxyParamCaption}
\item[{{\bf Timer\-If} $\ast$}]{timer\-If, }
\item[{const uint32}]{timeout}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_timer_server_ad06e94ff757883e0df298d68501dea85}


update timer 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em timer\-If} & \-: user \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Z\-:/duye/src/duyebase/public/\hyperlink{duye__timer_8h}{duye\-\_\-timer.\-h}\end{DoxyCompactItemize}
